package com.yxq.mdt.app.modules.shoppingcart.prestener;

import com.yxq.mdt.app.base.ibase.IBaseContract;
import com.yxq.mdt.app.modules.shoppingcart.bean.CartBean;

import java.util.List;

public interface ICartContract extends IBaseContract {

    interface View extends IBaseView {

        void onLoadSuccess(CartBean beanList);

        void onLoadFailed(String err);

        void onDeleteSuccess(List<Integer> position, String msg);

        void onDeleteFailed(String err);

        void onEditSuccess(String msg);

        void onEditFailed(String err);
    }


    interface Presenter extends IBasePresenter {

        void cartList();

        void cartDelete(List<Integer> position, String list);

        void cartEdit(String list);
    }
}
